package com.hoshiicloud.saleorder.feign.hystrix;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.saleorder.feign.UserService;
import com.hoshiicloud.user.entity.store.PlatStore;

import java.util.Map;

/**
 * @author: Markerccc
 * @date: 2019/7/22 - 11:25
 */
public class HystrixUserFeignFallback implements UserService {

    @Override
    public Response<Map<String, Object>> accountInfo(Long id) {
        return null;
    }

    @Override
    public Response<PlatStore> queryById(Long id) {
        return Response.failed("获取店铺信息失败");
    }
}
